package com.jade.zsy.crm.entity;

import com.jade.bss.db.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 会员充值交易历史
 * User: JinYa 2009_jinya@163.com
 * Date: 2016-4-25
 * Time: 15:07
 * Version : 1.0
 * Remark:
 * History:
 */
@Entity
@Table(name = "STORE_CRM_RECHARGE_HIS")
public class RechargeHis extends IdEntity {
    public  static  String TITAL_ADD="会员充值";
    public  static  String TITAL_GOODS="商品消费";
    /**
     * 交易编号
     */
    @Column(name = "title", nullable = true, updatable = true, length = 100)
    private String title;
     /**
     * 交易金额
     */
    /**
     * 充值金额
     */
    @Column(name = "amount", nullable = true, updatable = true, length = 100)
    private BigDecimal amount=new BigDecimal(0);
    /**
     * 店铺编号
     */
    @Column(name = "storeId", nullable = true, updatable = true, length = 100)
    private long storeId=0;
    /**
     * 店铺编号
     */
    @Column(name = "storeName", nullable = true, updatable = true, length = 100)
    private String storeName;
    /**
     * 员工编号
     */
    @Column(name = "employeeId", nullable = true, updatable = true, length = 100)
    private long employeeId=0;
    @Column(name = "employeeName", nullable = true, updatable = true, length = 100)
    private String employeeName;
    /**
     * 会员编号
     */
    @Column(name = "crmId", nullable = true, updatable = true, length = 100)
    private long crmId=0;
    /**
     * 交易编号
     */
    @Column(name = "pay_id", nullable = true, updatable = true, length = 100)
    private long payId;
    /**
     * 交易流水号
     */
    @Column(name = "pay_no", nullable = true, updatable = true, length = 100)
    private String payNo;
    /**
     * 备注
     */
    @Column(name = "remark", nullable = true, updatable = true, length = 100)
    private String remark;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public long getCrmId() {
        return crmId;
    }

    public void setCrmId(long crmId) {
        this.crmId = crmId;
    }

    public long getPayId() {
        return payId;
    }

    public void setPayId(long payId) {
        this.payId = payId;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public long getStoreId() {
        return storeId;
    }

    public void setStoreId(long storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(long employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }
}
